<!DOCTYPE html>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="contextPath" value="${pageContext.request.contextPath}" />

<html>
<head>
<title>文件上传</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<link rel="stylesheet" type="text/css" href="${contextPath}/js/upload/x.basedoc.css">
<link rel="stylesheet" type="text/css" href="${contextPath}/js/upload/x.multifiledoc.css">
<link rel="stylesheet" type="text/css" href="${contextPath}/css/bootstrap.mindoc.css" />
<link rel="stylesheet" type="text/css" href="${contextPath}/css/bootstrap-theme.mindoc.css" />
<link rel="stylesheet" type="text/css" href="${contextPath}/css/publicdoc.css">
<script type="text/javascript" src="${contextPath}/js/jquery.mindoc.js"></script>
<script type="text/javascript" src="${contextPath}/js/bootstrap.mindoc.js"></script>
 
</head>
<body>

<!-- <div style="position:relative;width:500px;">
      <iframe id="t_load" name="t_load" style="display: none"></iframe>
      <form action="" method="post" enctype="multipart/form-data" name="form1" target="t_load">
        <input type='text' name='textfield' id='textfield' style="height:22px; 
               border:2px solid #cdcdcd; width:230px; border-radius:50px;" />
        <input type='button' value='浏览...' style="display: inline-block;
				 margin-bottom: 0;
				 font-size: 14px;
				 border-radius: 4px;
				padding: 6px 12px;
				 margin: 2px 2px;
				 border: 1px solid #357ebd;
				 background: #1b9ad5;
				 color: #fff;" />
        <input type="file" name="file1" accept="image/jpeg, image/gif" id="file1" 
               onchange="document.getElementById('textfield').value=this.value"  
               style="position:absolute; top:5px; right:74px; height:27px;
               filter:alpha(opacity:0);opacity: 0;width:300px" />
        <input type="button" name="button" onclick="mysubmit()" value="上传" style="display: inline-block;
				 margin-bottom: 0;
				 font-size: 14px;
				 border-radius: 4px;
				padding: 6px 12px;
				 margin: 2px 2px;
				 border: 1px solid #357ebd;
				 background: #1b9ad5;
				 color: #fff;">
      </form>
    </div>
    <div style="display:none;color:#6D6D72;font-size: 20px;" id="res"></div> -->

     
<div class="container">
   <div class="panel panel-default">
	 <div class="panel-heading">
		文件管理<span class="pull-right text-success">管理员：${sessionScope.username} | <a href="javascript:window.close();">关闭</a> </span>
 	 </div>
	 <div class="panel-body">
		<div class="form-group">
			<div class="input-group">
				<div class="input-group-addon" style="background-color:#CCC">上传路径：</div>
				 <input class="form-control" type="text" id="docId" value="${docId}">
			</div>
		</div>
		<div class="multifile"></div>
	 </div>
   </div>
</div>
     
	<script type="text/javascript" src="${contextPath}/js/upload/x.coredoc.js"></script>
	<script type="text/javascript" src="${contextPath}/js/upload/x.multifiledoc.js" charset="utf-8"></script>
	<script>
		X.multiFile({
			selector : '.multifile',
		});
	</script>
     
     
     

</body>
</html>